<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<form action="/dept/updateDept/"+ ${dept.deptid} th:action="@{'/dept/updateDept/'+${dept.deptid}}" method="post" th:object="${dept}">
    部门名称<br/>
    <input type="text" name="deptname" th:value="${dept.deptname}">
    <br/>
    <input type="submit" value="修改">
</form>
</body>
</html>